#include <TrafficModel.h>
Static Public Member Functions | |
| static osg::ref_ptr< osg::Group > | circularTrafficSign (string textureFilename) |
| static osg::ref_ptr< osg::Group > | triangularTrafficSign (string textureFilename, int duz_mu) |
| static osg::ref_ptr< osg::Group > | trafficLight (int lamba_id) |
| static osg::ref_ptr< osg::Group > | trafficLight1 (int lamba_id) |
| static void | initialize () |
Static Private Attributes | |
| static vector< osg::ref_ptr< osg::Group > > | light |
Definition at line 8 of file TrafficModel.h.
|
|
returns a circular traffic sign group with texture whose pathname is given by the only argument Definition at line 36 of file TrafficModel.cpp. Referenced by TrafficSign::draw(). |
|
|
this function fills light vector with the three traffic light models. later trafficLight function is called to return the already placed models in the array. Definition at line 3 of file TrafficModel.cpp. References KIRMIZI, light, SARI, trafficLight1(), and YESIL. Referenced by RightView::SetSceneData(). |
|
|
returns the traffic light model as a Group
Definition at line 21 of file TrafficModel.cpp. References KIRMIZI, light, SARI, and YESIL. Referenced by TrafficLight::changeColor(), TrafficLight::changeColorAnim(), and AnimationWindow::generateSeq(). |
|
|
called when iniatilize is called and the three traffic lights are added to light vector.
Definition at line 201 of file TrafficModel.cpp. Referenced by initialize(). |
|
||||||||||||
|
returns a triangular traffic sign group
Definition at line 77 of file TrafficModel.cpp. Referenced by TrafficSign::draw(). |
|
|
this vector is filled with three traffic light models when inialize() is called Definition at line 13 of file TrafficModel.h. Referenced by initialize(), and trafficLight(). |
1.4.6-NO